<div class="modal-content" ng-controller="merchantController as vm">
    <div class="modal-header bg-primary">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
        <h4 class="modal-title">
            <i class="icon-pencil"></i>
            <span id="lblAddTitle" style="font-weight:bold">Reject operations</span>
        </h4>
    </div>

    <div class="modal-body">
        <div class="row">
            <div class="col-md-12">
                <div class="form-group">
                    <label class="control-label col-md-2">reason</label>
                    <div class="col-md-10">
                        <textarea class="form-control" placeholder="reason..." ng-model="vm.reason">{{vm.index}}</textarea>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer bg-info">
        <button type="submit" class="btn blue" ng-click="vm.reject()">submit</button>
    </div>
</div>